import axios from "axios";

const chan1 = () =>{
    axios.get("http://localhost:3004/posts")
 .then(Response=>{
    
    console.log('所有文章:',Response.data);
 });
}

export default chan1;